package com.tip.calculator.model;

import java.io.Serializable;

public class Tip implements Serializable {

	private int numberOfGuests;
	private float billTotal;
	private float billDeduction;
	private float taxAmount;
	private float tipRate;
	private float totalTip;
	private float perPersonTip;

	public Tip() {
		numberOfGuests = 1;
		billTotal = 0;
		billDeduction = 0;
		taxAmount = 0;
		tipRate = 0;
		totalTip = 0;
	}
	
	public float getPerPersonTip() {
		return perPersonTip;
	}

	public void setPerPersonTip(float perPersonTip) {
		this.perPersonTip = perPersonTip;
	}

	public float getTotalTip() {
		return totalTip;
	}

	public void setTotalTip(float totalTip) {
		this.totalTip = totalTip;
	}

	public float getBillDeduction() {
		return billDeduction;
	}

	public float getBillTotal() {
		return billTotal;
	}

	public int getNumberOfGuests() {
		return numberOfGuests;
	}

	public float getTaxAmount() {
		return taxAmount;
	}

	public float getTipRate() {
		return tipRate;
	}

	public void setBillDeduction(float billDeduction) {
		this.billDeduction = billDeduction;
	}

	public void setBillTotal(float billTotal) {
		this.billTotal = billTotal;
	}

	public void setNumberOfGuests(int numberOfGuests) {
		this.numberOfGuests = numberOfGuests;
	}

	public void setTaxAmount(float taxAmount) {
		this.taxAmount = taxAmount;
	}

	public void setTipRate(float tipRate) {
		this.tipRate = tipRate;
	}
}
